import subprocess
import logging
import traceback

logging.basicConfig(
    filename="C:\\users\\netease\\huyu-operator-log-test.txt", level=logging.DEBUG)
logger = logging.getLogger()

if __name__ == "__main__":
    try:        
        print("test")
        # subprocess.Popen(["start", "powershell"], shell = True)
        subprocess.Popen(["start", "cmd", "/k", "cd /d E:\\D90 & C:\\Python38\\python.exe d90_train_server.py"], shell=True)
    except BaseException as e:
        logger.error(e)
        traceback.print_exc()
    